package com.project.service;

import com.project.bean.CommentBean;

import java.util.List;

public interface ICommentService {
    /**
     * 显示新闻评论
     * @param newId
     * @return CommentBean
     */
    List<CommentBean> findById(Integer newId);

    /**
     * 发表评论
     * @param commentBean
     */
    void add(CommentBean commentBean);
}
